package com.atguigu.cloud.user.service.Impl;

import com.atguigu.cloud.user.entity.User;
import com.atguigu.cloud.user.mapper.UserMapper;
import com.atguigu.cloud.user.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author LT
 * @create 2023-11-13-18:06
 */
@Service
public class UserServiceImpl implements UserService {

    @Autowired
    UserMapper userMapper;

    @Override
    public User findById(Long userId) {

        return userMapper.findById(userId);
    }
}
